package models

import "time"

// UserCollectsModel 记录用户收藏的文章
type UserCollectsModel struct {
	MODEL
	UserID    uint      `gorm:"primaryKey"`
	UserModel UserModel `gorm:"foreignKey:UserID"`
	ArticleID string    `gorm:"column:article_id;type:varchar(255);"`
	CreatedAt time.Time
}
